#ifndef AICHATDIALOG_H
#define AICHATDIALOG_H

#include <QWidget>
#include <QTextEdit>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QLabel>
#include "AIServer.h"

namespace Ui {
class AIChatDialog;
}

class AIChatDialog : public QWidget
{
    Q_OBJECT

public:
    explicit AIChatDialog(QWidget *parent = nullptr);
    ~AIChatDialog();
private slots:
    void onSendClicked();
private:
    Ui::AIChatDialog *ui;
    QTextEdit *chatDisplay;  // 显示对话内容
        QTextEdit *inputEdit;    // 用户输入框
        QPushButton *sendButton; // 发送按钮
        AIServer *aiServer;      // DeepSeek 请求处理器
};

#endif // AICHATDIALOG_H
